<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF - 8">
    <title>Page with Custom Background and Menu</title>
    <style>
        body {
            background-image: url('微信图片_20241218140759.jpg'); 
            background-repeat: no - repeat;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        
        footer {
            background-color: black;
            display: flex;
            justify-content: space - evenly; 
            align-items: center;
            padding: 10px 0;
            margin-top: auto;
        }

        /* 菜单栏链接的默认样式 */
        footer a {
            color: white;
            text-decoration: none;
            padding: 5px 10px;
            transition: all 0.3s ease;
        }

        /* 鼠标悬停或点击时的样式 */
        footer a:hover,
        footer a:active {
            background-color: white;
            color: black;
        }

        /* 一级菜单下的二级菜单容器样式 */
      .sub-menu {
            display: none;
            position: absolute;
            background-color: white;
            padding: 5px;
        }

        /* 显示二级菜单的样式 */
        footer a:focus +.sub-menu,
        footer a:hover +.sub-menu {
            display: block;
        }

        /* 二级菜单中的内容样式 */
      .sub-menu p {
            margin: 0;
            padding: 3px 0;
        }

        /* 二级菜单中饮品分类之间的间隔 */
      .sub-menu p:not(:last-child) {
            margin-bottom: 5px;
        }

        /* 二级菜单中咖啡种类之间的间隔 */
      .sub-menu p:last-child span:not(:last-child) {
            margin-bottom: 5px;
        }
    </style>
</head>

<body>
    <footer>
        <a href="#">查询快递1</a>
        <a href="#">查询快递2</a>
        <a href="#">查询快递3</a>
        <a href="#">查询快递4</a>
        <a href="#">查询快递5</a>
        <a href="#">查询快递6</a>
        <div class="sub-menu">
            <p>奶茶</p>
            <p>果茶</p>
            <p>
                <span>咖啡</span>
                <span>美式咖啡</span>
                <span>拿铁咖啡</span>
                <span>摩卡咖啡</span>
            </p>
        
    </footer>
</body>

</html>